package com.ruoyi.common.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "file.storage")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FileStorageProperties {
    private String uploadDir;
    private String templateDir;
    private String tempDir;
    private String imageDir;
    private String transUrl;
    private String localResources;
    private String genUrl;
    private String onlineUrl;
    private String usePort;
}